package com.yx.service.impl;

import com.yx.entity.Order;
import com.yx.dao.OrderMapper;
import com.yx.service.IOrderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yx
 * @since 2022-02-07
 */
@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements IOrderService {
    @Resource
    private OrderMapper orderMapper;
    @Override
    public List<Order> getOrderUsers() {
        return orderMapper.getOrderUsers();
    }
}
